import axios from 'axios';
let base = 'corrective';


/**
 * 高校获取整改进度list
 * **/
export const getCorrectedProgress = params => {
    return axios.post(`${base}/corrective_log_list`, params);
};
/**
 * 管理员获取整改进度list
 * **/
export const getAdminCorrectedProgress = params => {
    return axios.post(`${base}/corrective_list`, params);
};

/**
 * 获取整改进度详情
 * **/
export const getCorrectedProgressData = params => {
    return axios.post(`${base}/corrective_info`, params);
};

/**
 * 高校更新报告
 * **/
export const updateCorrectedProgressData = params => {
    return axios.post(`${base}/univ_update_report`, params);
};

/**
 * 高校提交报告
 * **/
export const submitReview = params => {
    return axios.post(`${base}/univ_submit_report`, params);
};

/**
 * 获取url
 * **/
export const generate_report_word = params => {
    return axios.post(`${base}/generate_report_word/`, params);
};

/**
 * 预览word
 * **/
export const get_file = params => {
    return axios.post(`${base}/get_file_url/`, params);
};
/**
 * 高校提交报告正式文件
 * **/
export const submitReportFormalFile = params => {
    return axios.post(`${base}/univ_submit_report_formal_file`, params);
};


/**
 * 专家审核报告
 * **/
export const expertAuditReview = params => {
    return axios.post(`${base}/expert_audit_report`, params);
};


/**
 * 教育部审核报告
 * **/
export const eduAuditReview = params => {
    return axios.post(`${base}/edu_audit_report`, params);
};

